__author__ = 'Compaq'
class tap_truyen:
    """Lớp các tập truyện"""
    __ID_TRUYEN = 0
    __AVATAR = "NONE"
    __TEN_TAP_TRUYEN = "NONE"
    __GIOI_THIEU = "NONE"
    __NGUOI_DICH = "NONE"
    __NGUOI_UPLOAD = "NONE"
    __SO_THU_TU = 0
    __URL_TAP_TRUYEN = "NONE"

    def __init__(self,id_truyen = 0, avatar = "NONE",ten_tap_truyen = "NONE",gioi_thieu = "NONE",nguoi_dich = "NONE",nguoi_upload ="NONE",stt = 0,url="NONE"):
        self.__ID_TRUYEN = id_truyen
        self.__AVATAR = avatar
        self.__TEN_TAP_TRUYEN = ten_tap_truyen
        self.__GIOI_THIEU = gioi_thieu
        self.__NGUOI_DICH = nguoi_dich
        self.__NGUOI_UPLOAD = nguoi_upload
        self.__SO_THU_TU = stt
        self.__URL_TAP_TRUYEN = url

    def setIDTruyen(self,id = 0):
        self.__ID_TRUYEN = id
    def getIDTruyen(self):
        return self.__ID_TRUYEN

    def setAvatar(self,url = "NONE"):
        self.__AVATAR = url
    def getAvatar(self):
        return self.__AVATAR

    def setTentaptruyen(self,name ="NONE"):
        self.__TEN_TAP_TRUYEN =name
    def getTentaptruyen(self):
        return self.__TEN_TAP_TRUYEN

    def setGioithieu(self,intro ="NONE"):
        self.__GIOI_THIEU = intro
    def getGioithieu(self):
        return self.__GIOI_THIEU

    def setNguoidich(self,name = "NONE"):
        self.__NGUOI_DICH = name
    def getNguoidich(self):
        return self.__NGUOI_DICH

    def setNguoiUpload(self,name ="NONE"):
        self.__NGUOI_UPLOAD = name
    def getNguoiUpload(self):
        return self.__NGUOI_UPLOAD

    def setStt(self,num = 0):
        self.__SO_THU_TU = num
    def getStt(self,num = 0):
        return self.__SO_THU_TU
